home *** CD-ROM | disk | FTP | other *** search
/ IRIX 6.5 Complementary Applications 2004 May / SGI IRIX 6.5 Complementary Applications 2004 May.iso / dist / OpenOffice.idb / usr / OpenOffice / help / en / sbasic.jar / text / sbasic / common / 03131900.xml < prev    next >
Encoding:
Extensible Markup Language  |  2002-01-24  |  2.2 KB  |  42 lines

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <html><head><title>GlobalScope [Runtime]</title><meta name="filename" content="text/sbasic/common/03131900"/><meta name="language" content="en-US"/><help:css-file-link xmlns:help="http://openoffice.org/2000/help"/><!--The CSS style header method for setting styles--><style type="text/css">
  3.  
  4.         p.P1{
  5.                 }
  6.         p.P2{
  7.                 }
  8.         p.P3{
  9.                 }
  10.         span.T1{
  11.                 font-weight:bold;}
  12.         </style></head><body>
  13.    
  14.    
  15.    <help:to-be-embedded Eid="globalscope" xmlns:help="http://openoffice.org/2000/help">
  16.    <p class="Head1"><help:link Id="68579">GlobalScope [Runtime]</help:link></p>
  17.    <p class="Paragraph">Basic source code and dialogs are organized in a library system.<help:key-word value="Library system" tag="kw68579_1"/></p>
  18.    </help:to-be-embedded>
  19.    <ul class="L1">
  20.     <li class="">
  21.      <p class="P2">The LibraryContainer contains libraries</p>
  22.     </li>
  23.     <li class="">
  24.      <p class="P2">Libraries contain modules and/or dialogs</p>
  25.     </li>
  26.    </ul>
  27.    <p class="Paragraph">In Basic:</p>
  28.    <p class="Paragraph">THe LibraryContainer is called BasicLibraries.</p>
  29.    <p class="Paragraph">In dialogs:</p>
  30.    <p class="Paragraph">The LibraryContainer is called DialogLibraries.</p>
  31.    <p class="Paragraph">Both LibraryContainers exist in an application level and within every document. in the document Basic, the document's LibraryContainers are called automatically. If you want to call the global LibraryContainers from within a document, you must use the keyword GlobalScope.</p>
  32.    <p class="Paragraph"><span class="T1">Syntax</span>:</p>
  33.    <p class="Paragraph">GlobalScope<help:key-word value="GlobalScope" tag="kw68579_2" xmlns:help="http://openoffice.org/2000/help"/></p>
  34.    <p class="P3">Example:</p>
  35.    <p class="PropText">Example in the document Basic</p>
  36.    <p class="PropText"/>
  37.    <p class="PropText">' calling Dialog1 in the document library Standard</p>
  38.    <p class="PropText">oDlgDesc = DialogLibraries.Standard.Dialog1</p>
  39.    <p class="PropText"/>
  40.    <p class="PropText">' calling Dialog2 in the application library Library1</p>
  41.    <p class="PropText">oDlgDesc = GlobalScope.DialogLibraries.Library1.Dialog2</p>
  42.   </body></html>